how to find nth root of a complex number